home *** CD-ROM | disk | FTP | other *** search
- /*
- * ===========================================================================
- *
- * PUBLIC DOMAIN NOTICE
- * National Center for Biotechnology Information
- *
- * This software/database is a "United States Government Work" under the
- * terms of the United States Copyright Act. It was written as part of
- * the author's official duties as a United States Government employee and
- * thus cannot be copyrighted. This software/database is freely available
- * to the public for use. The National Library of Medicine and the U.S.
- * Government have not placed any restriction on its use or reproduction.
- *
- * Although all reasonable efforts have been taken to ensure the accuracy
- * and reliability of the software and data, the NLM and the U.S.
- * Government do not and cannot warrant the performance or results that
- * may be obtained by using this software or data. The NLM and the U.S.
- * Government disclaim all warranties, express or implied, including
- * warranties of performance, merchantability or fitness for any particular
- * purpose.
- *
- * Please cite the author in any work or product based on this material.
- *
- * ===========================================================================
- *
- * File Name: ni_net.h
- *
- * Author: Beatty, Gish
- *
- * Version Creation Date: 1/1/92
- *
- * $Revision: 1.10 $
- *
- * File Description:
- *
- *
- * Modifications:
- * --------------------------------------------------------------------------
- * Date Name Description of modification
- * ------- ---------- -----------------------------------------------------
- * 5/12/92 Epstein Converted tabs to spaces
- *
- *
- * ==========================================================================
- */
-
- #ifndef _NI_NET_
-
- #if !defined(COMP_MPW) && !defined(COMP_CODEWAR) && !defined(OS_VMS)
- #include <fcntl.h>
- #endif /* skip for COMP_MPW or OS_VMS */
-
- #ifdef OS_MAC
- #include <netdb.h>
- #include <s_types.h>
- #include <s_socket.h>
- #include <s_ioctl.h>
- #include <neti_in.h>
- #include <a_inet.h>
- #include <s_time.h>
- #define _NI_NET_
- #endif /* OS_MAC */
-
- #ifdef NETP_INET_WSOCK
- #undef NEAR
- #undef FAR
- #undef Beep
- #undef PASCAL
- #undef CDECL
- #undef TRUE
- #undef FALSE
- #define STRICT
- #include <windows.h>
- #include <winsock.h>
- #define _NI_NET_
- #endif /* NETP_INET_WSOCK */
-
- #ifdef NETP_INET_NEWT
- #undef TRUE
- #undef FALSE
- #undef NULL
- #include <nmpcip.h>
- #define _NI_NET_
- #endif /* NETP_INET_NEWT */
-
- #ifdef NETP_INET_PCNFS
- #include <netdb.h>
- #include <sys/socket.h>
- #include <sys/types.h>
- #include <sys/ioctl.h>
- #include <netinet/in.h>
- #include <windows.h>
- #include <in_addr.h>
- #include <sys/nfs_time.h>
- #include <tk_errno.h>
- #define _NI_NET_
- #endif /* NETP_INET_PCNFS */
-
- /* TGV, Inc. Multinet TCP/IP suite */
- #ifdef NETP_INET_TGV
- #include "Multinet_root:[multinet.include]netdb.h"
- #include "Multinet_root:[multinet.include.sys]types.h"
- #include "Multinet_root:[multinet.include.sys]socket.h"
- #include "Multinet_root:[multinet.include.sys]ioctl.h"
- #include "Multinet_root:[multinet.include.netinet]in.h"
- #include "Multinet_root:[multinet.include.arpa]inet.h"
- #include "Multinet_root:[multinet.include.sys]time.h"
- #include "Multinet_root:[multinet.include]errno.h"
- #define _NI_NET_
- #endif /* NETP_INET_TGV */
-
- /* The Wollongong Group, Inc. TCP/IP suite */
- #ifdef NETP_INET_TWG
- #include <netdb.h>
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/ioctl.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <sys/time.h>
- #include <sys/errno.h>
- #define _NI_NET_
- #endif /* NETP_INET_TWG */
-
- /* DEC TCP/IP for OpenVMS */
- #ifdef NETP_INET_UCX
- #include <netdb.h>
- #include <types.h>
- #include <socket.h>
- #include <in.h>
- #include <inet.h>
- #include <time.h>
- #include <ucx$inetdef.h>
- #include <iodef.h>
- #define _NI_NET_
- #endif /* NETP_INET_UCX */
-
-
- /* default */
- #ifndef _NI_NET_
- #include <netdb.h>
- #include <sys/socket.h>
- #include <sys/types.h>
- #include <sys/ioctl.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <sys/time.h>
- #define _NI_NET_
- #endif /* _NI_NET_ */
-
- #endif
-
-
-
-